﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace tracnghiemonline2.Ajax.ASP
{
    public partial class logout : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Session["user"] = null;
            Session["level"] = null;
            Session["user_id"] = null;
            Response.Cookies["user"].Expires = DateTime.Now.AddDays(-1);
            Response.Redirect("~/");
        }
    }
}